namespace CommonLibrary.Models.ControllerStates.PS3
{
    public class PS3ControllerState : ControllerState
    {
        // TODO Make a generic controller state
        // This should be inherited of a base Controller State
        private static SixaxisStateSys _sys;
        public SixaxisStateSys Sys
        {
            get
            {
                return _sys ?? (_sys = new SixaxisStateSys());
            }
            set { _sys = value;
            OnPropertyChanged("Sys");
            }
        }

        private static SixaxisStateUser _user;
        public SixaxisStateUser User
        {
            get { return _user ?? (_user = new SixaxisStateUser()); }
            set { 
                _user = value; 
                OnPropertyChanged("User");
            }
        }
    }
}